package com.dy.lock.screen.service;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.CustomerLikeInfo;
import com.dy.lock.screen.vo.CommonCommentLikeVo;

/**
 * 客户点赞信息查询service
 * 
 * @author java
 * 
 */
public interface CustomerLikeService {

	/**
	 * 查询总条数
	 * 
	 * @param para
	 * @return
	 */
	public Integer queryCount(Map<String, Object> para);

	/**
	 * 分页查询
	 * 
	 * @param para
	 * @return
	 */
	public List<CustomerLikeInfo> queryPage(Map<String, Object> para);

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public CustomerLikeInfo queryByPrimaryKey(String id);

	/**
	 * 保存信息
	 * 
	 * @param likeInfo
	 * @return
	 */
	public String save(CustomerLikeInfo likeInfo);

	/**
	 * 删除信息
	 * 
	 * @param likeInfo
	 * @return
	 */
	public int delete(CustomerLikeInfo likeInfo);

	/**
	 * 根据文章编号(或文章评论编号)和客户编号查询是否有点过赞
	 * 
	 * @param likeInfo
	 * @return
	 */
	public CustomerLikeInfo queryByMidAndCid(CustomerLikeInfo likeInfo);
	
	/**
	 * 查询消息中的赞详情
	 * 
	 * @param id
	 * @return
	 */
	public CommonCommentLikeVo queryDetailByPrimaryKey(String id);
	
	

}
